package com.lynn.salary.service;

import java.util.List;
import java.util.Map;

import com.lynn.salary.entity.Article;

public interface IArticleService extends IBaseEntityService{

	Article save(Article article) throws Exception;
	List<Article> findAll() throws Exception;
	
	Article getById(String id) throws Exception;
	
	List<Map<String, Object>> findByArticleType(String articleType) throws Exception;
	
	List<Map<String, Object>> findPartArticleByType(String articleType, int allArticleLength, Integer currentPage) throws Exception;
	long findAllArticleNumber(String articleType) throws Exception;
	//	boolean deleteAll(String[]ids) throws Exception;
}
